package com.gaojx.lang.util.spring;


import org.springframework.core.env.Environment;

/**
 * @author junxiang.gao
 * @since 2020/8/19
 */
public class SpringConfigUtil {

    private static Environment environment = SpringContextUtil.getApplicationContext().getEnvironment();

    public static String getProperties(String key) {
        return environment.getProperty(key);
    }
}
